package com.wanlong.sys.dao;

import com.wanlong.sys.model.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleMapper {
    public int insert(SysRole sysRole);

    public int insertSelective(SysRole sysRole);

    public int update(SysRole sysRole);

    public int delete(SysRole sysRole);

    public List<SysRole> getSysRoleList(@Param("name")String loginName);
}